<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>Sentiment</title>
    </head>
    <body>
        <form name="myForm" action="api/sentiment" method="GET">
            <table align="center" >
                <tr>
                    <td>Input text:</td>
                    <td> <textarea  name="text" rows="30" cols="50"> </textarea></td>
                </tr>
                <tr>
                    <td>Entity:</td>
                    <td> <textarea  name="entity"> </textarea></td>
                </tr>
               <!-- <tr>
                    <td>Role:</td>
                    <td> <textarea  name="role"> </textarea></td>
                </tr>-->
                <tr>
                    <td>Format: </td>
                    <td>
                        <select name="format">
                           <!-- <option value="html" selected>HTML</option>-->
                            <option value="json">JSON</option>
                        </select>
                    </td>
                </tr>
                <tr>
                    <td></td>
                    <td><input type="submit" value="Submit" /></td>
                </tr>
            </table>
        </form>
    </body>
</html> 